Remove sp_min functions from plat_common.c
authorSoby Mathew <[email protected]>
Thu, 1 Mar 2018 10:53:33 +0000 (10:53 +0000)
committerSoby Mathew <[email protected]>
Fri, 2 Mar 2018 16:41:18 +0000 (16:41 +0000)
commit0ed8c00174f8c2bd7917fafa5c72a038f944b07b
tree98966c8f5ce1da972ba29a74872ecbb86413a320
parent4504ab2bc2c9a3c6db0f92e4a34fc6095766885b
Remove sp_min functions from plat_common.c

This patch removes default platform implementations of sp_min
platform APIs from plat/common/aarch32/plat_common.c. The APIs
are now implemented in `plat_sp_min_common.c` file within the
same folder.

The ARM platform layer had a weak definition of sp_min_platform_setup2()
which conflicted with the weak definition in the common file. Hence this
patch fixes that by introducing a `plat_arm_` version of the API thus
allowing individual boards within ARM platforms to override it if they
wish to.

Fixes ARM-software/tf-issues#559

Change-Id: I11a74ecae8191878ccc7ea03f12bdd5ae88faba5
Signed-off-by: Soby Mathew <[email protected]>
bl32/sp_min/sp_min.mk
include/plat/arm/common/plat_arm.h
plat/arm/board/fvp/sp_min/fvp_sp_min_setup.c
plat/arm/common/sp_min/arm_sp_min_setup.c
plat/common/aarch32/plat_common.c
plat/common/aarch32/plat_sp_min_common.c [new file with mode: 0644]